package mn.idax.exchange.otc.mapper;

import mn.idax.exchange.otc.domain.openapi.UserSyncRequest;
import mn.idax.exchange.otc.entity.OTCSysDictionaryItem;
import mn.idax.exchange.otc.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OpenApiMapper {
    int userInsert(User record);
    int userIndexInsert(User record);

    int certificateInsert(UserSyncRequest record);

    int accountInsert(@Param("rq") UserSyncRequest record, @Param("list")List<OTCSysDictionaryItem> list);
}